import request from '@/utils/request'

export function dologin(data) {
  return request({
    url: 'login',
    method: 'post',
    data
  })
}
export function getMenu() {
  return request({
    url: 'sys/menu',
    method: 'get'
  })
}

export function getDicts(data) {
  return request({
    url: 'sys/getById/'+data,
    method: 'get'
  })
}